package com.ybkj.o2o.zhuanche.entity;

import com.ybkj.o2o.zhuanche.common.json.DateTimeJsonSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;
import java.util.Date;

public class Insurance implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
  private Long id;
  
  private Long carId;
  @JsonSerialize(using = DateTimeJsonSerializer.class)
  private Date insuranceValidDate;
  @JsonSerialize(using = DateTimeJsonSerializer.class)
  private Date insuranceEndDate;
  
  private String insuranceCompany;
  
  private String insuranceCode;
  
  private String insuranceType;
  
  private Double insuranceAmount;
  
  private String vehicleLicense;
  
  private String certificateNo;
  
  private String appKey;

public Long getId() {
	return id;
}

public void setId(Long id) {
	this.id = id;
}

public Long getCarId() {
	return carId;
}

public void setCarId(Long carId) {
	this.carId = carId;
}

public Date getInsuranceEndDate() {
	return insuranceEndDate;
}

public void setInsuranceEndDate(Date insuranceEndDate) {
	this.insuranceEndDate = insuranceEndDate;
}

public String getInsuranceCompany() {
	return insuranceCompany;
}

public void setInsuranceCompany(String insuranceCompany) {
	this.insuranceCompany = insuranceCompany;
}

public Date getInsuranceValidDate() {
	return insuranceValidDate;
}

public void setInsuranceValidDate(Date insuranceValidDate) {
	this.insuranceValidDate = insuranceValidDate;
}

public Date getInsyranceEndDate() {
	return insuranceEndDate;
}

public void setInsyranceEndDate(Date insyranceEndDate) {
	this.insuranceEndDate = insyranceEndDate;
}

public String getInsuranceCode() {
	return insuranceCode;
}

public void setInsuranceCode(String insuranceCode) {
	this.insuranceCode = insuranceCode;
}

public String getInsuranceType() {
	return insuranceType;
}

public void setInsuranceType(String insuranceType) {
	this.insuranceType = insuranceType;
}

public Double getInsuranceAmount() {
	return insuranceAmount;
}

public void setInsuranceAmount(Double insuranceAmount2) {
	this.insuranceAmount = insuranceAmount2;
}

public String getVehicleLicense() {
	return vehicleLicense;
}

public void setVehicleLicense(String vehicleLicense) {
	this.vehicleLicense = vehicleLicense;
}

public String getCertificateNo() {
	return certificateNo;
}

public void setCertificateNo(String certificateNo) {
	this.certificateNo = certificateNo;
}

public String getAppKey() {
	return appKey;
}

public void setAppKey(String appKey) {
	this.appKey = appKey;
}

  
}
